package com.kmzx.one.project.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserExchangeRate implements Serializable {
    private String id;

    private String orderId;

    private String userId;

    private Double directRate;

    private Double topRate;

    private String directUserId;

    private String topUserId;

    private Integer states;


    private Date createTime;

    private int rewardType;

    private BigDecimal rewardMoney;

    public Date getCreateTime() {
        return createTime;
    }

    public UserExchangeRate setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public UserExchangeRate setId(String id) {
        this.id = id;
        return this;
    }

    public String getOrderId() {
        return orderId;
    }

    public UserExchangeRate setOrderId(String orderId) {
        this.orderId = orderId;
        return this;
    }

    public String getUserId() {
        return userId;
    }

    public UserExchangeRate setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public Double getDirectRate() {
        return directRate;
    }

    public UserExchangeRate setDirectRate(Double directRate) {
        this.directRate = directRate;
        return this;
    }

    public Double getTopRate() {
        return topRate;
    }

    public UserExchangeRate setTopRate(Double topRate) {
        this.topRate = topRate;
        return this;
    }

    public String getDirectUserId() {
        return directUserId;
    }

    public UserExchangeRate setDirectUserId(String directUserId) {
        this.directUserId = directUserId;
        return this;
    }

    public String getTopUserId() {
        return topUserId;
    }

    public UserExchangeRate setTopUserId(String topUserId) {
        this.topUserId = topUserId;
        return this;
    }

    public Integer getStates() {
        return states;
    }

    public UserExchangeRate setStates(Integer states) {
        this.states = states;
        return this;
    }

    public int getRewardType() {
        return rewardType;
    }

    public UserExchangeRate setRewardType(int rewardType) {
        this.rewardType = rewardType;
        return this;
    }

    public BigDecimal getRewardMoney() {
        return rewardMoney;
    }

    public UserExchangeRate setRewardMoney(BigDecimal rewardMoney) {
        this.rewardMoney = rewardMoney;
        return this;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }
}
